import request from "@/utils/request.js";
import api from "@/api/index.js";

export const reqSendEmail=(email)=>{
    return request({
        url:api.reqSendEmailURL,
        method:'GET',
        params:{email}
    })
}

export const reqSendEmail4Login=(email)=>{
    return request({
        url:api.reqSendEmail4LoginURL,
        method:'GET',
        params:{email},
        enableLimit:true
    })
}
export const reqSendEmail4BindEmail=(email)=>{
    return request({
        url:api.reqSendEmail4BindEmailURL,
        method:'GET',
        params:{email}
    })
}
export const reqSendEmail4ForgetPassword=(email)=>{
    return request({
        url:api.reqSendEmail4ForgetPasswordURL,
        method:'GET',
        params:{email}
    })
}
